﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Plane : Vehicle, IFlyable
    {
        public Plane(string type) :base(type) { }
        public override void Air()
        {
            base.Air();
            Console.WriteLine("{0}:我在天上！",this.type);
        }
        public void Fly()
        {
            Console.WriteLine("{0}:我在天上飞！", this.type);
        }

        public void Land()
        {
            Console.WriteLine("{0}:我在陆地待机中！", this.type);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}:我准备起飞了！", this.type);
        }
        public void CarryPassenge()
        {
            Console.WriteLine("{0}:我载人中！", this.type);
        }
    }
}
